import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '@/views/login'
Vue.use(VueRouter)
// 路由规则
const routes = [
    { path: '/login', component: Login }
]
// 路由实例
const router = new VueRouter({ routes })
// 导出实例
export default router
